package com.example.demo.entity;

import java.io.Serializable;
import java.util.List;
import java.util.Objects;

/**
 * 执行条件实体
 */
public class ExecuteConditionEntity implements Serializable {

    private static final long serialVersionUID = Objects.hashCode(ExecuteConditionEntity.class);

    /**
     * 主键，自增
     */
    private Long id;

    /**
     * 执行信息实体的id
     */
    private Long executeInformationId;

    /**
     * 父执行条件的id
     */
    private Long parentConditionId;

    /**
     * 执行条件详细的连接方式，and或者or
     * {@link com.example.demo.typeEnums.ConnectType}
     */
    private String connectType;

    private String conditionDetails;

    /**
     * 执行条件详细集合
     */
    private List<ConditionDetailsEntity> conditionDetailsList;

    /**
     * 执行条件集合
     */
    private List<ExecuteConditionEntity> executeConditionList;

    public String getConnectType() {
        return connectType;
    }

    public void setConnectType(String connectType) {
        this.connectType = connectType;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getExecuteInformationId() {
        return executeInformationId;
    }

    public void setExecuteInformationId(Long executeInformationId) {
        this.executeInformationId = executeInformationId;
    }

    public Long getParentConditionId() {
        return parentConditionId;
    }

    public void setParentConditionId(Long parentConditionId) {
        this.parentConditionId = parentConditionId;
    }

    public String getConditionDetails() {
        return conditionDetails;
    }

    public void setConditionDetails(String conditionDetails) {
        this.conditionDetails = conditionDetails;
    }

    public List<ConditionDetailsEntity> getConditionDetailsList() {
        return conditionDetailsList;
    }

    public void setConditionDetailsList(List<ConditionDetailsEntity> conditionDetailsList) {
        this.conditionDetailsList = conditionDetailsList;
    }

    public List<ExecuteConditionEntity> getExecuteConditionList() {
        return executeConditionList;
    }

    public void setExecuteConditionList(List<ExecuteConditionEntity> executeConditionList) {
        this.executeConditionList = executeConditionList;
    }
}
